package com.yzh.croom.service.impl;

import com.yzh.croom.mapper.WeekMapper;
import com.yzh.croom.model.domain.Week;
import com.yzh.croom.service.WeekService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class WeekServiceImpl implements WeekService {

    @Autowired
    private WeekMapper weekMapper;

    @Override
    public List<Week> getAllWeek() {
        return weekMapper.getAllWeek();
    }
}
